#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#

x = 11111


def f1():
    def f2():
        print(x)
    return f2

x = 22222
print(id(x))
def f3(func):
    x = 33333
    func()

f3(f1())